/*
 * FileLocationFactoryTest.java
 *
 * Created on 05 May 2007, 12:09
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package org.cardcopier.file;

import java.io.File;
import junit.framework.TestCase;

/**
 *
 * @author Mark
 */
public class FileLocationFactoryTest extends TestCase {
    
    public void testCreateFactoryChecksFileSystemCaseSensitivity() {
        FileLocationFactory f = new FileLocationFactory(new String[] { "jpg" });
        // This test is windows specific at the moment
        assertFalse(f.isIsFileSystemCaseSensitive());
        assertTrue(f.createFileLocation(new File("foo")) instanceof CaseInsensitiveFileLocation);
    }
}
